import { createRouter, createWebHistory } from 'vue-router'

const router=createRouter({
        history:createWebHistory(),
        routes:[{
                path:'/well',
                component:()=>import('@/components/well/pageWell.vue')
        },
        {
                path:'/',
                component:()=>import('@/components/homePage/homePage.vue')
        },
        {
                path:'/homepage',
                component:()=>import('@/components/homePage/homePage.vue')
        },
        {
                path:'/pumpList',
                component:()=>import('@/components/pumpUnit/pumpUnit.vue')
        },
        {
                name:'pumpdetail',
                path:'/pump/pumpdetail',
                component:()=>import('@/views/pumpUnit/unitDetail.vue')
        }

]       
})

export default router